<?php
?>
<!-- <script type="text/javascript" src="/js/tinymce/tinymce.min.js"></script> -->
<!-- <script type="text/javascript"> -->
tinymce.init({
    selector: "textarea"
 });
<!-- </script> -->
<?php echo form_open_multipart("/member/en-us/do_ask_question"); ?>
<div class="container" style="padding-top: 40px;">
	<div class="page-header">
		<h1>Ask Question</h1>
		<p>Ask precise &amp; through the point question</p>
	</div>
	
	<div class="row">
		<div class="row form-group col-md-6">
			<input type="text" name="txtTitle" id="txtTitle" placeholder="Title" class="form-control">
			<?php echo form_error('txtTitle'); ?>
		</div>
		<div class="col-md-6"></div>
	</div>

	<div class="row">
		<div class="row form-group col-md-6">
			<textarea class="form-control" id="txtQuestion" name="txtQuestion" rows="10" cols="40"
				placeholder="Enter question here"></textarea>
			<?php echo form_error('txtQuestion'); ?>	
		</div>
		<div class="col-md-6"></div>
	</div>

	<div class="row">
		<div class="row form-group col-md-6">
			<select class="form-control" name="selPriority" id="selPriority">
				<option>-- Select Priority --</option>
				<option value="1">Low</option>
				<option value="2">Medium</option>
				<option value="3">High</option>
			</select>
		</div>
		<div class="col-md-6">&nbsp;</div>
	</div>
	
	<div class="row">
		<div class="row form-group col-md-6">
			<label>Upload File: (following file types are allowed pdf, doc, docx, gif, jpeg, jpg)</label>
			<input type="file" name="userfile" id="file" accept="image/*">
		</div>
		<div class="col-md-6">&nbsp;</div>
	</div>

	<div class="row">
		<div class="row form-group col-md-6">
			<button class="btn" type="submit" name="btnSubmit" id="btnSubmit">Submit</button>
		</div>
		<div class="col-md-6">&nbsp;</div>
	</div>

</div>
<?php echo form_close(); ?>
